package us.icitap.commandcenter.business.ejb.persistence;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name="GRADE",schema="MPC")
@TableGenerator(name="GRADE_IDS",table="AUTO_IDS",valueColumnName="LAST_ID",initialValue=1, allocationSize=1)
public class Grade implements Serializable {

	@Id
	@GeneratedValue(strategy=GenerationType.TABLE,generator="GRADE_IDS")
	private Integer id;
	
	@Column
	private String tag;

	@Column
	private boolean status = true;
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}
	
	
}
